home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5439 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: erinews.ericsson.se!usenet
  2. From: Jonas Elfstrom <jonas@plea.se>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: No waitTOF under CyberGraphX!
  5. Date: Thu, 14 Mar 1996 18:10:47 +0000
  6. Organization: PLEA AB http://plea.se/
  7. Message-ID: <31486127.25BE@plea.se>
  8. References: <13213651@sourcery.han.de> <31319872.751@plea.se> <zp0e60aCMqF5Z1a@blank1.blanker.ruhr.de> <313C4157.7806@plea.se> <zp221eaCP6huZ1a@blank1.blanker.ruhr.de> <4i4uch$qdu@skivs.ski.org>
  9. NNTP-Posting-Host: klpc010.ericsson.se
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Doug Taylor wrote:
  16. > Peter Elzner (HAWK@blanker.ruhr.de) wrote:
  17. > : info@plea.se (Jonas Elfstrom) wrote:
  18. > : > And how do the double-buffering routines know that the beam
  19. > : > isn't passing by just as it swaps screen? Or does the swap screen
  20. > : > thing always sync with vertical blanking?
  21. > : Well as far as I know (I'm currently working on a game supporting
  22. > : gfx-boards and I'm using double-buffering), the ScrollVPort() routine just
  23. > : tells the gfx-board to display another part of the screen, the next time
  24. > : the beam starts at the top again.
  25. > As far as I can tell when you write a new display start address it takes
  26. > effect on the next vertical blank. I believe this is a property of VGA and
  27. > SVGA chips. So if your rendering takes less than one frame you will get
  28. > smooth buffering but you will still have to wait for the vertical blank
  29. > signal to synchronize properly otherwise you may run ahead of yourself
  30. > and miss a frame.
  31.  
  32. And how do I busy-wait for the vertical blank?
  33.  
  34. -- 
  35.  / Jonas Elfstrom       (5+ rows .sigs sux)       jonas@plea.se  \
  36. < Amiga, Linux, ISP, C, 680x0/6502.  Guinness.  Suede, Oasis, SP. >
  37.  \ We are here to PLEAse you.  +46 19 322010   http://www.plea.se/
  38.